﻿/***********************************************************************
 * <copyright file="IEmployTest.cs" company="BUCA JSC">
 * -->    Copyright (C) statement. All right reserved
 * </copyright>
 * 
 * Created:   LinhMC
 * Email:    linhmc@buca.vn
 * Website:
 * Create Date: Tuesday, October 22, 2013
 * Usage: 
 * 
 * RevisionHistory: 
 * Date         Author               Description 
 * 
 * ************************************************************************/

using System.Collections.Generic;
using BusinessObjects.BussinessDictionary;

namespace DataObjects.StandartInterfaces.Dictionary
{
    /// <summary>
    /// Defines methods to access EmployTest
    /// </summary>
    /// <remarks>
    /// This is a database-independent interface. Implementations are database specific
    /// </remarks>
    public interface IEmployTest
    {
        /// <summary>
        /// Gets the paged.
        /// </summary>
        /// <param name="unitId">The unit identifier.</param>
        /// <param name="currentPage">The current page.</param>
        /// <returns></returns>
        List<EmployTest> GetPaged(int unitId, int currentPage); 

        /// <summary>
        /// Gets the size of the page.
        /// </summary>
        /// <param name="unitId">The unit identifier.</param>
        
        /// <returns></returns>
        int GetPageSize(int unitId);

        

          /// <summary>
        /// Gets the employTests by unit.
        /// </summary>
        /// <param name="employTestId">The unit identifier.</param>
        /// <returns></returns>
        EmployTest GetEmployTest(int employTestId); 

        
        /// <summary>
        /// Inserts the employTest.
        /// </summary>
        /// <param name="employTest">The employTest.</param>
        string InsertEmployTest(EmployTest employTest);

        /// <summary>
        /// Updates the employTest.
        /// </summary>
        /// <param name="employTest">The employTest.</param>
        string UpdateEmployTest(EmployTest employTest);

        /// <summary>
        /// Deletes the employTest.
        /// </summary>
        /// <param name="employTest">The employTest.</param>
        string DeleteEmployTest(EmployTest employTest);
    }
}
